/*
 * Copyright 2011 SWM Services GmbH.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package de.swm.commons.mobile.client.widgets.map;

import de.swm.commons.mobile.client.widgets.map.data.LatLng;



/**
 * Configuation settings of the map.
 * 
 * @author wiese.daniel <br>
 *         copyright (C) 2012, SWM Services GmbH
 * 
 */
public class MapConfiguration {

	private static final double DEFALULT_LATITUDE = 48.137048;
	private static final double DEFAULT_LONGITUDE = 11.575386;
	//Radius für den Haltestellen-Umkreis in der Karte (in  Metern)
	private static final int MAP_LOOKAHEAD_DISTANCE = 1000; 
	// Initiale Zoom-Stufe der Karte
	private static final int MAP_INITIAL_ZOOM = 16; 
	// Minimale Zoom-Stufe der Karte, ab der Haltestellen angezeigt werden
	private static final int MAP_MIN_ZOOM = 15; 


	public static int getLookAheadDistance() {
		return MAP_LOOKAHEAD_DISTANCE;
	}



	public static int getMapInitialZoom() {
		return MAP_INITIAL_ZOOM;
	}



	public static int getMapMinZoom() {
		return MAP_MIN_ZOOM;
	}



	public static LatLng getDefaultPos() {
		return LatLng.newInstance(DEFALULT_LATITUDE, DEFAULT_LONGITUDE);
	}

}
